/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.kmcsoft.goldshop.model.master;

import com.kmcsoft.emaster.entity.TrackableEntity;
import java.util.HashSet;
import java.util.Set;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;

/**
 *
 * @author kmcsoft02
 */
@PersistenceCapable(detachable = "true", table = "SHOP_DiamondPure")
public class DiamondPure extends TrackableEntity {

    @Persistent
    private String name;
    @Persistent
    private String description;
    @Persistent(mappedBy = "diamondPure")
    private Set<ProductDiamond> productDiamonds;

    public DiamondPure() {
        productDiamonds = new HashSet<ProductDiamond>();
    }

    public Set<ProductDiamond> getProductDiamonds() {
        return productDiamonds;
    }

    public void setProductDiamonds(Set<ProductDiamond> productDiamonds) {
        this.productDiamonds = productDiamonds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
